package card;

public class SayActCard extends Card{

	
	private String question;/** One question per String*/
	private int score;/** Marks for completing that say or act*/
	private SayActCard[] sayActArr; 
	private int sayActArrLength;
	
	public SayActCard(){
		loadData();
	}
	
	public SayActCard(int sayActID, String question, int score){
		this.cardId = sayActID;
		this.question = question;
		this.score = score;	
	}
	
	@Override
	public Card[] loadData() {
		sayActArr = new SayActCard[3];
		sayActArrLength = sayActArr.length;
		
		/** create the 1st event. Note the 1st sayAct ID is zero!!!*/
		int iD1 = 0;
		String question1 = "Say a compliment to one of your family members.";
		int q1Score = 3;
		sayActArr[0] = new SayActCard(iD1, question1, q1Score);
	
		/** create the 2nd event*/
		int iD2 = 1;
		String question2 = "Speakout a strength from one of your family members.";
		int q2Score = 6;
		sayActArr[1] = new SayActCard(iD2, question2,  q2Score);
		
		
		/** create the 3rd event*/
		int iD3 = 2;
		String question3 = "Share one of your secret with your family";
		int q3Score = 4;
		sayActArr[2] = new SayActCard(iD3, question3,  q3Score);
		return sayActArr;
	}
	
	public int getSayActID() {
		return this.cardId;
	}

	public String getQuestion() {
		return question;
	}

	public int getScore() {
		return score;
	}

	public SayActCard[] getSayActArr() {
		return sayActArr;
	}
	
	public int getSayActArrLength() {
		return sayActArrLength;
	}
}
